Belle II Software development
|
Public Member Functions | |
NSMMessage (const NSMNode &node) | |
NSMMessage (const NSMNode &node, const NSMCommand &cmd) | |
NSMMessage (const NSMNode &node, const NSMCommand &cmd, int npar, int *pars) | |
NSMMessage (const NSMNode &node, const NSMCommand &cmd, int par, const std::string &data) | |
NSMMessage (const NSMNode &node, const NSMCommand &cmd, int par) | |
NSMMessage (const NSMNode &node, const NSMCommand &cmd, const std::string &data) | |
NSMMessage (const NSMNode &node, const NSMVar &var) | |
NSMMessage (const NSMNode &node, const DAQLogMessage &log) | |
NSMMessage (const NSMNode &node, const DAQLogMessage &log, const NSMCommand &cmd) | |
NSMMessage (const NSMNode &node, const NSMData &data) | |
NSMMessage (const NSMCommand &cmd) | |
NSMMessage (const NSMCommand &cmd, int par) | |
NSMMessage (const NSMCommand &cmd, int npar, int *pars) | |
NSMMessage (const NSMNode &node, const NSMCommand &cmd, int npar, int *pars, const std::string &data) | |
NSMMessage (const NSMCommand &cmd, const std::string &data) | |
NSMMessage (const NSMVar &var) | |
NSMMessage (const DAQLogMessage &log) | |
NSMMessage (const NSMData &data) | |
NSMMessage (const NSMMessage &msg) | |
const NSMMessage & | operator= (const NSMMessage &msg) |
void | init () |
void | init (const NSMNode &node, const NSMVar &var) |
void | init (const NSMNode &node, const DAQLogMessage &log) |
void | init (const NSMNode &node, const DAQLogMessage &log, const NSMCommand &cmd) |
void | init (const NSMNode &node, const NSMData &data) |
const char * | getRequestName () const |
const char * | getNodeName () const |
unsigned short | getRequestId () const |
unsigned short | getSequenceId () const |
unsigned short | getNodeId () const |
unsigned short | getNParams () const |
int | getParam (int i) const |
unsigned int * | getParams () |
const unsigned int * | getParams () const |
unsigned int | getLength () const |
const char * | getData () const |
void | setRequestName (const std::string &name) |
void | setRequestName (const NSMCommand &cmd) |
void | setRequestName () |
void | setNodeName (const std::string &name) |
void | setNodeName (const NSMNode &node) |
void | setRequestId (unsigned short id) |
void | setSequenceId (unsigned short id) |
void | setNodeId (unsigned short id) |
void | setNParams (unsigned short id) |
void | setParam (int i, unsigned int v) |
void | setData (int len, const char *data) |
void | setData (const std::string &text) |
const NSMVar | getVar () |
NSMMessage | wait (int timeout) |
void | push (const NSMMessage &msg) |
void | readObject (Reader &) override |
void | writeObject (Writer &) const override |
size_t | read (NSMcontext *nsmc) |
NSMmsg * | getMsg () |
Static Public Attributes | |
static const unsigned int | DATA_SIZE = NSM_TCPDATSIZ |
Private Member Functions | |
int | try_read (int sock, char *buf, int datalen) |
Private Attributes | |
NSMcontext * | m_nsmc |
NSMmsg | m_nsm_msg |
Buffer | m_data |
std::string | m_nodename |
std::string | m_reqname |
bool | m_hasobj |
NSMVar | m_var |
Friends | |
class | NSMCommunicator |
Definition at line 36 of file NSMMessage.h.
NSMMessage | ( | ) |
Definition at line 117 of file NSMMessage.cc.
|
explicit |
Definition at line 122 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMCommand & | cmd | ||
) |
Definition at line 128 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMCommand & | cmd, | ||
int | npar, | ||
int * | pars | ||
) |
Definition at line 136 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMCommand & | cmd, | ||
int | par, | ||
const std::string & | data | ||
) |
Definition at line 160 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMCommand & | cmd, | ||
int | par | ||
) |
Definition at line 189 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMCommand & | cmd, | ||
const std::string & | data | ||
) |
Definition at line 199 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMVar & | var | ||
) |
Definition at line 221 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const DAQLogMessage & | log | ||
) |
Definition at line 231 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const DAQLogMessage & | log, | ||
const NSMCommand & | cmd | ||
) |
Definition at line 236 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMData & | data | ||
) |
Definition at line 226 of file NSMMessage.cc.
|
explicit |
Definition at line 209 of file NSMMessage.cc.
NSMMessage | ( | const NSMCommand & | cmd, |
int | par | ||
) |
Definition at line 172 of file NSMMessage.cc.
NSMMessage | ( | const NSMCommand & | cmd, |
int | npar, | ||
int * | pars | ||
) |
Definition at line 257 of file NSMMessage.cc.
NSMMessage | ( | const NSMNode & | node, |
const NSMCommand & | cmd, | ||
int | npar, | ||
int * | pars, | ||
const std::string & | data | ||
) |
Definition at line 147 of file NSMMessage.cc.
NSMMessage | ( | const NSMCommand & | cmd, |
const std::string & | data | ||
) |
Definition at line 181 of file NSMMessage.cc.
|
explicit |
Definition at line 242 of file NSMMessage.cc.
|
explicit |
Definition at line 252 of file NSMMessage.cc.
|
explicit |
Definition at line 247 of file NSMMessage.cc.
NSMMessage | ( | const NSMMessage & | msg | ) |
Definition at line 215 of file NSMMessage.cc.
|
inlinevirtual |
Definition at line 68 of file NSMMessage.h.
const char * getData | ( | ) | const |
Definition at line 388 of file NSMMessage.cc.
unsigned int getLength | ( | ) | const |
Definition at line 383 of file NSMMessage.cc.
|
inline |
Definition at line 119 of file NSMMessage.h.
unsigned short getNodeId | ( | ) | const |
Definition at line 345 of file NSMMessage.cc.
const char * getNodeName | ( | ) | const |
Definition at line 326 of file NSMMessage.cc.
unsigned short getNParams | ( | ) | const |
Definition at line 350 of file NSMMessage.cc.
int getParam | ( | int | i | ) | const |
Definition at line 355 of file NSMMessage.cc.
unsigned int * getParams | ( | ) |
Definition at line 376 of file NSMMessage.cc.
const unsigned int * getParams | ( | ) | const |
Definition at line 371 of file NSMMessage.cc.
unsigned short getRequestId | ( | ) | const |
Definition at line 335 of file NSMMessage.cc.
const char * getRequestName | ( | ) | const |
Definition at line 281 of file NSMMessage.cc.
unsigned short getSequenceId | ( | ) | const |
Definition at line 340 of file NSMMessage.cc.
void init | ( | ) |
Definition at line 37 of file NSMMessage.cc.
void init | ( | const NSMNode & | node, |
const DAQLogMessage & | log | ||
) |
Definition at line 75 of file NSMMessage.cc.
void init | ( | const NSMNode & | node, |
const DAQLogMessage & | log, | ||
const NSMCommand & | cmd | ||
) |
Definition at line 87 of file NSMMessage.cc.
Definition at line 100 of file NSMMessage.cc.
Definition at line 44 of file NSMMessage.cc.
const NSMMessage & operator= | ( | const NSMMessage & | msg | ) |
Definition at line 266 of file NSMMessage.cc.
size_t read | ( | NSMcontext * | nsmc | ) |
Definition at line 448 of file NSMMessage.cc.
|
overridevirtual |
Implements Serializable.
Definition at line 490 of file NSMMessage.cc.
void setData | ( | const std::string & | text | ) |
Definition at line 429 of file NSMMessage.cc.
void setData | ( | int | len, |
const char * | data | ||
) |
Definition at line 419 of file NSMMessage.cc.
void setNodeId | ( | unsigned short | id | ) |
Definition at line 404 of file NSMMessage.cc.
void setNodeName | ( | const NSMNode & | node | ) |
Definition at line 321 of file NSMMessage.cc.
void setNodeName | ( | const std::string & | name | ) |
Definition at line 316 of file NSMMessage.cc.
void setNParams | ( | unsigned short | id | ) |
Definition at line 409 of file NSMMessage.cc.
void setParam | ( | int | i, |
unsigned int | v | ||
) |
Definition at line 414 of file NSMMessage.cc.
void setRequestId | ( | unsigned short | id | ) |
Definition at line 394 of file NSMMessage.cc.
void setRequestName | ( | ) |
Definition at line 296 of file NSMMessage.cc.
void setRequestName | ( | const NSMCommand & | cmd | ) |
Definition at line 311 of file NSMMessage.cc.
void setRequestName | ( | const std::string & | name | ) |
Definition at line 306 of file NSMMessage.cc.
void setSequenceId | ( | unsigned short | id | ) |
Definition at line 399 of file NSMMessage.cc.
|
private |
Definition at line 434 of file NSMMessage.cc.
|
overridevirtual |
Implements Serializable.
Definition at line 506 of file NSMMessage.cc.
|
friend |
Definition at line 38 of file NSMMessage.h.
|
static |
Definition at line 41 of file NSMMessage.h.
|
private |
Definition at line 127 of file NSMMessage.h.
|
private |
Definition at line 130 of file NSMMessage.h.
|
mutableprivate |
Definition at line 128 of file NSMMessage.h.
|
private |
Definition at line 126 of file NSMMessage.h.
|
mutableprivate |
Definition at line 125 of file NSMMessage.h.
|
mutableprivate |
Definition at line 129 of file NSMMessage.h.
|
private |
Definition at line 131 of file NSMMessage.h.