OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Protected Attributes | Friends | List of all members
openjaus::system::Exception Class Reference

#include <Exception.h>

Inherits openjaus::system::Event.

Public Member Functions

 Exception ()
 
virtual ~Exception ()
 
 Exception (std::string description, std::string fileName, int lineNumber)
 
std::string getFile () const
 Accessor to get the value of file. More...
 
bool setFile (std::string file)
 Accessor to set value of file. More...
 
int getLine () const
 Accessor to get the value of line. More...
 
bool setLine (int line)
 Accessor to set value of line. More...
 
virtual std::string toString () const
 
- Public Member Functions inherited from openjaus::system::Event
 Event ()
 
virtual ~Event ()
 
 Event (std::string description)
 
std::string getDescription () const
 Accessor to get the value of description. More...
 
bool setDescription (std::string description)
 Accessor to set value of description. More...
 
float getMaxLoggingHz () const
 Accessor to get the value of maxLoggingHz. More...
 
bool setMaxLoggingHz (float maxLoggingHz)
 Accessor to set value of maxLoggingHz. More...
 
bool isSave () const
 Accessor to get the value of save. More...
 
bool setSave (bool save)
 Accessor to set value of save. More...
 
std::string getNameSpace () const
 Accessor to get the value of nameSpace. More...
 
bool setNameSpace (std::string nameSpace)
 Accessor to set value of nameSpace. More...
 
const TimegetTime () const
 Accessor to get the value of time. More...
 
bool setTime (const Time &time)
 Accessor to set value of time. More...
 
- Public Member Functions inherited from openjaus::system::Accessable
 Accessable ()
 
virtual ~Accessable ()
 
bool isGlobalRead () const
 Accessor to get the value of globalRead. More...
 
bool setGlobalRead (bool globalRead)
 Accessor to set value of globalRead. More...
 
bool isControllerRead () const
 Accessor to get the value of controllerRead. More...
 
bool setControllerRead (bool controllerRead)
 Accessor to set value of controllerRead. More...
 
bool isControllerWrite () const
 Accessor to get the value of controllerWrite. More...
 
bool setControllerWrite (bool controllerWrite)
 Accessor to set value of controllerWrite. More...
 
std::vector< std::string > getOwnerUri () const
 Accessor to get the value of ownerUri. More...
 
bool setOwnerUri (std::string ownerUri)
 Accessor to set value of ownerUri. More...
 

Protected Attributes

std::string file
 
int line
 
- Protected Attributes inherited from openjaus::system::Event
std::string description
 
float maxLoggingHz
 
bool save
 
std::string nameSpace
 
Time time
 
- Protected Attributes inherited from openjaus::system::Accessable
bool globalRead
 
bool controllerRead
 
bool controllerWrite
 
std::vector< std::string > ownerUri
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const Exception &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const Exception *object)
 

Constructor & Destructor Documentation

§ Exception() [1/2]

openjaus::system::Exception::Exception ( )

§ ~Exception()

openjaus::system::Exception::~Exception ( )
virtual

§ Exception() [2/2]

openjaus::system::Exception::Exception ( std::string  description,
std::string  fileName,
int  lineNumber 
)

Member Function Documentation

§ getFile()

std::string openjaus::system::Exception::getFile ( ) const

§ getLine()

int openjaus::system::Exception::getLine ( ) const

§ setFile()

bool openjaus::system::Exception::setFile ( std::string  file)
Parameters
fileThe value of the new file.

§ setLine()

bool openjaus::system::Exception::setLine ( int  line)
Parameters
lineThe value of the new line.

§ toString()

std::string openjaus::system::Exception::toString ( ) const
virtual

Reimplemented from openjaus::system::Event.

Friends And Related Function Documentation

§ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const Exception object 
)
friend

§ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const Exception object 
)
friend

Member Data Documentation

§ file

std::string openjaus::system::Exception::file
protected

§ line

int openjaus::system::Exception::line
protected

The documentation for this class was generated from the following files: