|
F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for FileManager component. More...
#include <build-fprime-automatic-native/F-Prime/Svc/FileManager/FileManagerComponentAc.hpp>
Public Types | |
| enum | { NUM_CMDIN_INPUT_PORTS = 1, NUM_PINGIN_INPUT_PORTS = 1 } |
| enum | { NUM_CMDREGOUT_OUTPUT_PORTS = 1, NUM_CMDRESPONSEOUT_OUTPUT_PORTS = 1, NUM_EVENTOUT_OUTPUT_PORTS = 1, NUM_TIMECALLER_OUTPUT_PORTS = 1, NUM_TLMOUT_OUTPUT_PORTS = 1, NUM_PINGOUT_OUTPUT_PORTS = 1, NUM_LOGTEXT_OUTPUT_PORTS = 1 } |
| Public Types inherited from Fw::ActiveComponentBase | |
| enum | { ACTIVE_COMPONENT_EXIT } |
| Public Types inherited from Fw::QueuedComponentBase | |
| enum | MsgDispatchStatus { MSG_DISPATCH_OK, MSG_DISPATCH_EMPTY, MSG_DISPATCH_ERROR, MSG_DISPATCH_EXIT } |
Static Public Member Functions | |
| static void | m_p_pingIn_in (Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, U32 key) |
| Static Public Member Functions inherited from Fw::ActiveComponentBase | |
| static void | s_baseBareTask (void *) |
| function provided to task class for new thread. More... | |
Friends | |
| class | FileManagerComponentBaseFriend |
Additional Inherited Members | |
| Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init (void) |
| Object initializer. More... | |
Auto-generated base for FileManager component.
Definition at line 45 of file FileManagerComponentAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
| NUM_PINGIN_INPUT_PORTS |
Definition at line 319 of file FileManagerComponentAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| NUM_CMDREGOUT_OUTPUT_PORTS | |
| NUM_CMDRESPONSEOUT_OUTPUT_PORTS | |
| NUM_EVENTOUT_OUTPUT_PORTS | |
| NUM_TIMECALLER_OUTPUT_PORTS | |
| NUM_TLMOUT_OUTPUT_PORTS | |
| NUM_PINGOUT_OUTPUT_PORTS | |
| NUM_LOGTEXT_OUTPUT_PORTS |
Definition at line 375 of file FileManagerComponentAc.hpp.
|
virtual |
Destroy a FileManagerComponentBase object
Definition at line 539 of file FileManagerComponentAc.cpp.
|
pure virtual |
Handler for command AppendFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| source | The name of the file to take content from |
| target | The name of the file to append to |
Implemented in Svc::FileManager.
| void Svc::FileManagerComponentBase::AppendFile_cmdHandlerBase | ( | FwOpcodeType | opCode, |
| U32 | cmdSeq, | ||
| Fw::CmdArgBuffer & | args | ||
| ) |
Base-class handler function for command AppendFile
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1160 of file FileManagerComponentAc.cpp.
|
virtual |
Pre-message hook for command AppendFile
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1221 of file FileManagerComponentAc.cpp.
| Fw::InputCmdPort * Svc::FileManagerComponentBase::get_cmdIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get input port at index
| portNum | The port number |
Definition at line 89 of file FileManagerComponentAc.cpp.
| Svc::InputPingPort * Svc::FileManagerComponentBase::get_pingIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get input port at index
| portNum | The port number |
Definition at line 96 of file FileManagerComponentAc.cpp.
| NATIVE_INT_TYPE Svc::FileManagerComponentBase::getNum_cmdResponseOut_OutputPorts | ( | void | ) |
Get the number of cmdResponseOut output ports
Definition at line 578 of file FileManagerComponentAc.cpp.
| NATIVE_INT_TYPE Svc::FileManagerComponentBase::getNum_eventOut_OutputPorts | ( | void | ) |
Get the number of eventOut output ports
Definition at line 586 of file FileManagerComponentAc.cpp.
| NATIVE_INT_TYPE Svc::FileManagerComponentBase::getNum_pingIn_InputPorts | ( | void | ) |
Get the number of pingIn input ports
Definition at line 610 of file FileManagerComponentAc.cpp.
| NATIVE_INT_TYPE Svc::FileManagerComponentBase::getNum_pingOut_OutputPorts | ( | void | ) |
Get the number of pingOut output ports
Definition at line 618 of file FileManagerComponentAc.cpp.
| NATIVE_INT_TYPE Svc::FileManagerComponentBase::getNum_timeCaller_OutputPorts | ( | void | ) |
Get the number of timeCaller output ports
Definition at line 594 of file FileManagerComponentAc.cpp.
| NATIVE_INT_TYPE Svc::FileManagerComponentBase::getNum_tlmOut_OutputPorts | ( | void | ) |
Get the number of tlmOut output ports
Definition at line 602 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::init | ( | NATIVE_INT_TYPE | queueDepth, |
| NATIVE_INT_TYPE | instance = 0 |
||
| ) |
Initialize a FileManagerComponentBase object
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 305 of file FileManagerComponentAc.cpp.
| bool Svc::FileManagerComponentBase::isConnected_cmdResponseOut_OutputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 650 of file FileManagerComponentAc.cpp.
| bool Svc::FileManagerComponentBase::isConnected_eventOut_OutputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Check whether port eventOut is connected
| portNum | The port number |
Definition at line 660 of file FileManagerComponentAc.cpp.
| bool Svc::FileManagerComponentBase::isConnected_pingOut_OutputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Check whether port pingOut is connected
| portNum | The port number |
Definition at line 690 of file FileManagerComponentAc.cpp.
| bool Svc::FileManagerComponentBase::isConnected_timeCaller_OutputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Check whether port timeCaller is connected
| portNum | The port number |
Definition at line 670 of file FileManagerComponentAc.cpp.
| bool Svc::FileManagerComponentBase::isConnected_tlmOut_OutputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 680 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_AppendFileStarted | ( | Fw::LogStringArg & | source, |
| Fw::LogStringArg & | target | ||
| ) |
Log event AppendFileStarted
| source | The name of the file being read from |
| target | The name of the file to append to |
Definition at line 2508 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_AppendFileSucceeded | ( | Fw::LogStringArg & | source, |
| Fw::LogStringArg & | target | ||
| ) |
Log event AppendFileSucceeded
| source | The name of the file being read from |
| target | The name of the file to append to |
Definition at line 1964 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_CreateDirectoryStarted | ( | Fw::LogStringArg & | dirName | ) |
Log event CreateDirectoryStarted
| dirName | The name of the directory |
Definition at line 2692 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_CreateDirectorySucceeded | ( | Fw::LogStringArg & | dirName | ) |
Log event CreateDirectorySucceeded
| dirName | The name of the directory |
Definition at line 2148 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_MoveFileStarted | ( | Fw::LogStringArg & | sourceFileName, |
| Fw::LogStringArg & | destFileName | ||
| ) |
Log event MoveFileStarted
| sourceFileName | The name of the source file |
| destFileName | The name of the destination file |
Definition at line 2868 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_MoveFileSucceeded | ( | Fw::LogStringArg & | sourceFileName, |
| Fw::LogStringArg & | destFileName | ||
| ) |
Log event MoveFileSucceeded
| sourceFileName | The name of the source file |
| destFileName | The name of the destination file |
Definition at line 2324 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_RemoveDirectoryStarted | ( | Fw::LogStringArg & | dirName | ) |
Log event RemoveDirectoryStarted
| dirName | The name of the directory |
Definition at line 2780 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_RemoveDirectorySucceeded | ( | Fw::LogStringArg & | dirName | ) |
Log event RemoveDirectorySucceeded
| dirName | The name of the directory |
Definition at line 2236 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_RemoveFileStarted | ( | Fw::LogStringArg & | fileName | ) |
Log event RemoveFileStarted
| fileName | The name of the file |
Definition at line 2964 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_RemoveFileSucceeded | ( | Fw::LogStringArg & | fileName | ) |
Log event RemoveFileSucceeded
| fileName | The name of the file |
Definition at line 2420 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_ShellCommandStarted | ( | Fw::LogStringArg & | command | ) |
Log event ShellCommandStarted
| command | The command string |
Definition at line 2604 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_ACTIVITY_HI_ShellCommandSucceeded | ( | Fw::LogStringArg & | command | ) |
Log event ShellCommandSucceeded
| command | The command string |
Definition at line 2060 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_WARNING_HI_AppendFileFailed | ( | Fw::LogStringArg & | source, |
| Fw::LogStringArg & | target, | ||
| U32 | status | ||
| ) |
Log event AppendFileFailed
| source | The name of the file being read from |
| target | The name of the file to append to |
| status | The error status |
Definition at line 1850 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_WARNING_HI_DirectoryRemoveError | ( | Fw::LogStringArg & | dirName, |
| U32 | status | ||
| ) |
Log event DirectoryRemoveError
| dirName | The name of the directory |
| status | The error status |
Definition at line 1418 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_WARNING_HI_FileMoveError | ( | Fw::LogStringArg & | sourceFileName, |
| Fw::LogStringArg & | destFileName, | ||
| U32 | status | ||
| ) |
Log event FileMoveError
| sourceFileName | The name of the source file |
| destFileName | The name of the destination file |
| status | The error status |
Definition at line 1524 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_WARNING_HI_FileRemoveError | ( | Fw::LogStringArg & | fileName, |
| U32 | status | ||
| ) |
Log event FileRemoveError
| fileName | The name of the file |
| status | The error status |
Definition at line 1638 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::log_WARNING_HI_ShellCommandFailed | ( | Fw::LogStringArg & | command, |
| U32 | status | ||
| ) |
Log event ShellCommandFailed
| command | The command string |
| status | The status code |
Definition at line 1744 of file FileManagerComponentAc.cpp.
|
static |
Callback for port pingIn
| callComp | The component instance |
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 3056 of file FileManagerComponentAc.cpp.
|
pure virtual |
Handler for command MoveFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| sourceFileName | The source file name |
| destFileName | The destination file name |
Implemented in Svc::FileManager.
| void Svc::FileManagerComponentBase::MoveFile_cmdHandlerBase | ( | FwOpcodeType | opCode, |
| U32 | cmdSeq, | ||
| Fw::CmdArgBuffer & | args | ||
| ) |
Base-class handler function for command MoveFile
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 880 of file FileManagerComponentAc.cpp.
|
virtual |
Pre-message hook for command MoveFile
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 941 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::regCommands | ( | void | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 263 of file FileManagerComponentAc.cpp.
|
pure virtual |
Handler for command RemoveDirectory.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| dirName | The directory to remove |
Implemented in Svc::FileManager.
| void Svc::FileManagerComponentBase::RemoveDirectory_cmdHandlerBase | ( | FwOpcodeType | opCode, |
| U32 | cmdSeq, | ||
| Fw::CmdArgBuffer & | args | ||
| ) |
Base-class handler function for command RemoveDirectory
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 950 of file FileManagerComponentAc.cpp.
|
virtual |
Pre-message hook for command RemoveDirectory
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1011 of file FileManagerComponentAc.cpp.
|
pure virtual |
Handler for command RemoveFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| fileName | The file to remove |
Implemented in Svc::FileManager.
| void Svc::FileManagerComponentBase::RemoveFile_cmdHandlerBase | ( | FwOpcodeType | opCode, |
| U32 | cmdSeq, | ||
| Fw::CmdArgBuffer & | args | ||
| ) |
Base-class handler function for command RemoveFile
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1020 of file FileManagerComponentAc.cpp.
|
virtual |
Pre-message hook for command RemoveFile
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1081 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::set_cmdRegOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputCmdRegPort * | port | ||
| ) |
Connect port to cmdRegOut[portNum]
| portNum | The port number |
| port | The port |
Definition at line 107 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::set_cmdResponseOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputCmdResponsePort * | port | ||
| ) |
Connect port to cmdResponseOut[portNum]
| portNum | The port number |
| port | The port |
Definition at line 117 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::set_eventOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to eventOut[portNum]
| portNum | The port number |
| port | The port |
Definition at line 127 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::set_pingOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Svc::InputPingPort * | port | ||
| ) |
Connect port to pingOut[portNum]
| portNum | The port number |
| port | The port |
Definition at line 157 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::set_timeCaller_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to timeCaller[portNum]
| portNum | The port number |
| port | The port |
Definition at line 137 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::set_tlmOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputTlmPort * | port | ||
| ) |
Connect port to tlmOut[portNum]
| portNum | The port number |
| port | The port |
Definition at line 147 of file FileManagerComponentAc.cpp.
|
pure virtual |
Handler for command ShellCommand.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| command | The shell command string |
| logFileName | The name of the log file |
Implemented in Svc::FileManager.
| void Svc::FileManagerComponentBase::ShellCommand_cmdHandlerBase | ( | FwOpcodeType | opCode, |
| U32 | cmdSeq, | ||
| Fw::CmdArgBuffer & | args | ||
| ) |
Base-class handler function for command ShellCommand
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1090 of file FileManagerComponentAc.cpp.
|
virtual |
Pre-message hook for command ShellCommand
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1151 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::tlmWrite_Errors | ( | U32 | arg | ) |
Write telemetry channel Errors
| arg | The telemetry value |
Definition at line 1263 of file FileManagerComponentAc.cpp.
|
friend |
Friend class for white-box testing
Definition at line 55 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad0__ |
Definition at line 209 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad10__ |
The opcode
Definition at line 573 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad11__ |
The opcode
Definition at line 628 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad12__ |
Definition at line 642 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad13__ |
Channel ID for CommandsExecuted.
Definition at line 831 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad14__ |
Definition at line 862 of file FileManagerComponentAc.hpp.
| PRIVATE Svc::FileManagerComponentBase::__pad15__ |
Definition at line 875 of file FileManagerComponentAc.hpp.
| PRIVATE Svc::FileManagerComponentBase::__pad16__ |
Definition at line 889 of file FileManagerComponentAc.hpp.
| PRIVATE Svc::FileManagerComponentBase::__pad17__ |
The component instance
Definition at line 925 of file FileManagerComponentAc.hpp.
| PRIVATE Svc::FileManagerComponentBase::__pad18__ |
Definition at line 949 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad1__ |
The port number
Definition at line 238 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad2__ |
The port number
Definition at line 251 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad3__ |
The port number
Definition at line 266 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad4__ |
The port number
Definition at line 283 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad5__ |
Definition at line 296 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad6__ |
Definition at line 324 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad7__ |
Definition at line 385 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad8__ |
Definition at line 449 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::__pad9__ |
The opcode
Definition at line 521 of file FileManagerComponentAc.hpp.
| PROTECTED U32 Fw::CmdArgBuffer& Svc::FileManagerComponentBase::args |
< The command argument buffer
Definition at line 585 of file FileManagerComponentAc.hpp.
| PRIVATE NATIVE_INT_TYPE FwOpcodeType U32 Fw::CmdArgBuffer& Svc::FileManagerComponentBase::args |
< Buffer containing arguments
Definition at line 938 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::CHANNELID_ERRORS = 0x1 |
Channel ID for Errors.
Definition at line 839 of file FileManagerComponentAc.hpp.
| PROTECTED U32 Svc::FileManagerComponentBase::cmdSeq |
The command sequence number
< The command sequence number
Definition at line 474 of file FileManagerComponentAc.hpp.
| PRIVATE NATIVE_INT_TYPE FwOpcodeType U32 Svc::FileManagerComponentBase::cmdSeq |
Command Sequence
Definition at line 937 of file FileManagerComponentAc.hpp.
| PROTECTED U32 const Fw::CmdStringArg& Svc::FileManagerComponentBase::dirName = 0 |
< The directory to create
Definition at line 475 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_APPENDFILEFAILED = 0x5 |
Definition at line 654 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_APPENDFILESTARTED = 0xC |
Definition at line 661 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_APPENDFILESUCCEEDED = 0x6 |
Definition at line 655 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_CREATEDIRECTORYSTARTED = 0xE |
Definition at line 663 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_CREATEDIRECTORYSUCCEEDED = 0x8 |
Definition at line 657 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_DIRECTORYREMOVEERROR = 0x1 |
Definition at line 650 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_FILEMOVEERROR = 0x2 |
Definition at line 651 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_FILEREMOVEERROR = 0x3 |
Definition at line 652 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_MOVEFILESTARTED = 0x10 |
Definition at line 665 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_MOVEFILESUCCEEDED = 0xA |
Definition at line 659 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_REMOVEDIRECTORYSTARTED = 0xF |
Definition at line 664 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_REMOVEDIRECTORYSUCCEEDED = 0x9 |
Definition at line 658 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_REMOVEFILESTARTED = 0x11 |
Definition at line 666 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_REMOVEFILESUCCEEDED = 0xB |
Definition at line 660 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_SHELLCOMMANDFAILED = 0x4 |
Definition at line 653 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_SHELLCOMMANDSTARTED = 0xD |
Definition at line 662 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::EVENTID_SHELLCOMMANDSUCCEEDED = 0x7 |
Definition at line 656 of file FileManagerComponentAc.hpp.
| PROTECTED U32 Svc::FileManagerComponentBase::key = 0 |
< Value to return to pinger
Definition at line 248 of file FileManagerComponentAc.hpp.
| Fw::OutputCmdResponsePort Svc::FileManagerComponentBase::m_cmdResponseOut_OutputPort[NUM_CMDRESPONSEOUT_OUTPUT_PORTS] |
Output port cmdResponseOut
Definition at line 901 of file FileManagerComponentAc.hpp.
| Fw::OutputLogPort Svc::FileManagerComponentBase::m_eventOut_OutputPort[NUM_EVENTOUT_OUTPUT_PORTS] |
Output port eventOut
Definition at line 905 of file FileManagerComponentAc.hpp.
| Svc::InputPingPort Svc::FileManagerComponentBase::m_pingIn_InputPort[NUM_PINGIN_INPUT_PORTS] |
Input port pingIn
Definition at line 887 of file FileManagerComponentAc.hpp.
| Svc::OutputPingPort Svc::FileManagerComponentBase::m_pingOut_OutputPort[NUM_PINGOUT_OUTPUT_PORTS] |
Output port pingOut
Definition at line 917 of file FileManagerComponentAc.hpp.
| Fw::OutputTimePort Svc::FileManagerComponentBase::m_timeCaller_OutputPort[NUM_TIMECALLER_OUTPUT_PORTS] |
Output port timeCaller
Definition at line 909 of file FileManagerComponentAc.hpp.
| Fw::OutputTlmPort Svc::FileManagerComponentBase::m_tlmOut_OutputPort[NUM_TLMOUT_OUTPUT_PORTS] |
Output port tlmOut
Definition at line 913 of file FileManagerComponentAc.hpp.
| PRIVATE NATIVE_INT_TYPE FwOpcodeType Svc::FileManagerComponentBase::opCode |
Command Op Code
Definition at line 936 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::OPCODE_APPENDFILE = 0x5 |
Definition at line 461 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::OPCODE_MOVEFILE = 0x1 |
Definition at line 457 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::OPCODE_REMOVEDIRECTORY = 0x2 |
Definition at line 458 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::OPCODE_REMOVEFILE = 0x3 |
Definition at line 459 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::OPCODE_SHELLCOMMAND = 0x4 |
Definition at line 460 of file FileManagerComponentAc.hpp.
| PRIVATE NATIVE_INT_TYPE Svc::FileManagerComponentBase::portNum |
The port number
Definition at line 935 of file FileManagerComponentAc.hpp.
| PROTECTED Svc::FileManagerComponentBase::PROTECTED |
| PROTECTED U32 Fw::CommandResponse Svc::FileManagerComponentBase::response |
< The command response
Definition at line 639 of file FileManagerComponentAc.hpp.
| PROTECTED U32 Svc::FileManagerComponentBase::status |
< The error status
Definition at line 680 of file FileManagerComponentAc.hpp.


League of Legends is a 3D, third-person multiplayer online battle arena (MOBA) game. The game consists of 3 current running game modes: Summoner's Rift, Twisted Treeline and Howling Abyss.The game used to have 4 game modes, however, the game mode played on The Crystal Scar has since been removed.Players compete in matches, typically lasting 20–60 minutes. In each game mode teams work together to accomplish a terminal objective and achieve a victory condition, either to destroy a central objective (called a Nexus) controlled by the enemy team, or to capture and hold the most strategic points for the longest period of time. Each game mode includes a variety of smaller intermediate objectives that give players and teams advantages in achieving overall victory. In all game modes, players control characters called champions, chosen or assigned every match, who each have a set of unique abilities.Champions begin every match at a low level (level one for Summoner's rift and Twisted Treeline, and level three for Crystal Scar and Howling Abyss), and then gain experience over the course of the match to achieve a maximum level of 18. Gaining champion levels in matches allows players to unlock their champion's special abilities and augment them in a number of ways unique to each character.
Games types and matchmaking League of Legends includes a number of game types and match making options which augment the various conditions of the game modes. The Tutorial is the first game type available to new players. The tutorial is played on Howling Abyss and includes a regimen of Battle Training to help better acquaint players to the basics of the game. Co-op Vs. AI is available to new players after completing or opting out of the Tutorial. It is played on Summoner's Rift, Twisted Treeline, and Crystal Scar, and pits teams of five or three players against an opposing team of computer controlled artificial intelligence champions. Custom Games allow players to play any game mode with any combination of player or AI teammates and opponents. Normal Matchmaking is available to players upon reaching level 10, and uses an automated match making system to pair teams of similarly-skilled players against one another. Ranked Matchmaking is available to players upon reaching level 30. It uses a similar system as Normal Matchmaking and allows players to play competitively against players from throughout their region. Team Matchmaking allows pre-made teams of three or five players to compete against other similarly-skilled teams.
Champion selection
Blind Pick allows two teams to select their champions simultaneously, while not knowing the champion selections of the opposing team until the match begins. It is available on Summoner's Rift, Twisted Treeline, and the Crystal Scar for matchmaking games, and for all modes in custom games.
Draft Pick allows each team to ban three champions each (a total of six champions banned), removing them from the match. Teams then take turns selecting their champions while being able to see the selections of the other team. It is available on Summoners Rift for match making games, and for all modes in custom games.
ARAM, or All Random All Mid, randomly assigns a champion to each player. Players accumulate re-rolls by playing multiple matches, which they can use to randomly select another champion for that match. It is available on Howling Abyss for matchmaking games, and for all modes in custom games.
Champion types
Assassin: A champion who specializes in killing another champion as fast as possible. These champions go after the enemy's AD/AP Carry and other 'squishy' champions. They are usually strong and can be tough to kill if they are fed. Examples of assassins are Akali, Diana, Fizz, Katarina, and Zed
Marksman: Marksmen are usually weak in the beginning, but can become really strong towards the end, 'carrying' the team to victory. These champions are usually high team DPS with a high amount of maneuverability and escape ability, making it easier to get very high kill/death ratios. Examples of marksmen are Caitlyn, Miss Fortune, Tristana, and Varus
Fighter: Champions that blend the attributes of a damage dealer and tank, combing moderate to heavy survivability with the damage of an assassin or carry. Like any other champion they can get really strong if fed a lot. Examples of fighters are Jax, Elise, Rek'Sai, and Wukong
Support: Champions whose skills are meant to directly aid the rest of the team. They can either babysit a champion to make laning easier for them by providing healing, buffing allies, debuffing the enemy team, or a combination of the above. The most common ability for a support champion is providing an ally with a shield of some kind. One of the main goals of a support is to let their lane partner farm minions for gold, as supports can buy key gold plus items to get gold for themselves, as well as controlling the map with wards. These champions usually rely on their skills more than their auto-attack. Example of supports are Alistar, Morgana, Nami, Soraka, Taric, and Zilean
Mage: Champions with powerful magic damage skills or support skills but low defense. Some are meant to deal a high amount of damage in a short period of time (AP burst) while others usually deal damage over time (AP sustain). Like marksmen champions, they can carry their team to victory due to their ability power, but tend to fall off in the very late game. Examples of mages are Karthus, Kassadin, Lissandra, Lux, Malzahar, Rumble, Swain, and Vel'Koz


2 overrides of OnCompleted
Microsoft.PowerShell.Commands.Management (2)
cimSupport\cmdletization\cim\MethodInvocationJobBase.cs (1)
162
public override void
OnCompleted
()
cimSupport\cmdletization\cim\QueryJobBase.cs (1)
46
public override void
OnCompleted
()
2 references to OnCompleted
Microsoft.PowerShell.Commands.Management (2)
cimSupport\cmdletization\cim\MethodInvocationJobBase.cs (1)
179
base.
OnCompleted
();
cimSupport\cmdletization\cim\QueryJobBase.cs (1)
72
base.
OnCompleted
();


--- layout: page title: "Developing Web Applications with Haskell and Yesod" prev: OEBPS/ch03s06.html next: OEBPS/ch03s08.html book_path: books/michael-snoyman-developing-web-applications-with-haskell-and-yesod-_oeb/ --- {% include JB/setup %} {% raw %}
Installing Yesod will give you both the Yesod library, as well as a yesod
executable. This executable accepts a few commands,
but the first one you’ll want to be acquainted with is yesod
init
. It will ask you some questions, and then generate a folder
containing the default scaffolded site. Inside that folder, you
can run cabal install --only-dependencies
to build
any extra dependencies (such as your database backends), and then yesod devel
to run your site.
The scaffolded site gives you a lot of best practices out of the box, setting up files and dependencies in a time-tested approach used by most production Yesod sites. However, all this convenience can get in the way of actually learning Yesod. Therefore, most of this book will avoid the scaffolding tool, and instead deal directly with Yesod as a library.
We will cover the structure of the scaffolded site in more detail later.


Belton Weekly Fishing Report
- Mar 28, 2018
- Water stained; 70–74 degrees; 2.42’ low. Black bass are good on topwaters and spinnerbaits in coves. Hybrid striper are good on live shad early. White bass are good on light blue jigs. Crappie are good on minnows in 30 feet. Channel and blue catfish are good on bloodbait, stinkbait, and minnows. Yellow catfish are good on trotlines and throwlines baited with perch.
Zebra Mussel Alert To prevent the spread of zebra mussels, the law requires draining of water from boats and onboard receptacles when leaving or approaching public fresh waters. Get details.
Fishing reports are produced with support from Toyota and the federal Sport Fish Restoration program.


Uses of Package
net.glowstone.inventory
Package
Description
-
-
-
-
ClassDescriptionTracker for when the equipment of an entity is changed.A class which represents an inventory.An Inventory representing the items a player is holding.
-
ClassDescriptionA class which represents an inventory and the items it contains.A llama inventory.
-
ClassDescriptionTracker for the item-drag operations a player is performing.An entry which has been changed.Represents a crafting grid inventory, both workbench and per-player.A class which represents an inventory.An implementation of
ItemFactory
responsible for creating ItemMetas.An implementation ofItemMeta
, created throughGlowItemFactory
.Inventory which delegate to other Inventory objects.An entry which has been changed.An interface for checking predicates on Materials.AMaterialMatcher
implementation for basic tool types. -
ClassDescriptionRepresents a crafting grid inventory, both workbench and per-player.An interface for checking predicates on Materials.


[1]
parking at restaurants because they were all shut.
[2]
parking at restaurants because they were unable to such an upmarket suburb of athens.


Project for the course "Geoinformation in Society" in the winter semester 2017/2018 at ifgi, University of Münster
by Auriol Degbelo and Tomi Kauppinen.
The project deals with the visualization of unemployment data on the level of federal states in Germany. The web application gives an insightful overview about the development of unemployment in Germany in a time period of ten years (2006 to 2016). Moreover the application is enriched with the visualization of additional data
like GDP per capita or the number of industries within a federal state as a bar diagram.
The code of this project can be found on GitHub:
GI4Society


Welcome to the San Joaquin Valley Town Hall
San Joaquin Valley Town Hall welcomes Dr. Scott Sampson
In February, Dr. Scott Sampson will present a lecture titled
‘Fossil Threads in the Web of Life’
In the meantime, you can see a video of Dr. Sampson below.


Blanketed across the confluence of 2 majestic rivers and within an hour of both the Pacific Coast and Cascade Mountains, Portland and its lush environs have something for nearly every lover of the outdoors.
Hardcore fun hogs can snowboard and run whitewater on the same day almost any time of year and still be back in the city for dinner. More contemplative types might prefer a hilly amble through Portland’s urban, but seemingly boundless Forest Park. Anglers can drop a line for wild salmon where the placid Willamette River runs beneath downtown bridges. There’s surfing at the coast, kite-boarding on the Columbia, and miles of bicycling on non-vehicular paths. Rock climbing, golf, skate parks, birding; you name it and you can find it somewhere in or close to Portland. Text credit to Travel Channel.


An in house bakery ordering system.
Get your football fix from this application.
Get the current and future weather forecast for the entered city.
Use this application to generator a random password.
Test your coding knowledge using this quiz.


Header
public struct Header
Container that represents a single key:value HTTP Header field.
-
The name of this HTTP header.
Declaration
Swift
let key: Key
-
The value stored under this header key.
Declaration
Swift
let value: String?
-
Creates a new
HTTP.Header
object with given values.Declaration
Swift
public init(_ key: Key, value: String?)
Parameters
key
The name of this HTTP header.
value
The value stored under this header key.
-
Collection of most common values send under the
See moreContent-Type
http header key.Declaration
Swift
public enum ContentType : String
-
Collection of commonly used http header keys.
See moreDeclaration
Swift
public enum Key : String


[Dead Link]
The page you're trying to access is either currently unavailable or has suffered from link rot. Sorry for the inconvenience.


We sell solutions!
- matrix robust infrastructures
- implement killer infrastructures
- architect holistic vortals
- cultivate ubiquitous web services
- strategize seamless supply-chains
- maximize customized mindshare
- syndicate back-end users
- embrace end-to-end experiences
- envisioneer dot-com e-tailers
- extend impactful interfaces


Store contact info ( Add )
Cancel
Save
Country :
choose
India
Contact info
Location
Working schedule
Allocated users
Products
Locale Options
Logs
Store name
Contact person
Email
Telephone
Mobile
Fax
Main store Country India
State
choose
District
choose
Postal code
choose
Street address
Geo location
Geo location
Geo location
Morning
Evening
Sunday
choose
One Shift
Two shift
Holiday
From
To
From
To
Monday
choose
One Shift
Two shift
Holiday
From
To
From
To
Tuesday
choose
One Shift
Two shift
Holiday
From
To
From
To
Wednesday
choose
One Shift
Two shift
Holiday
From
To
From
To
Thursday
choose
One Shift
Two shift
Holiday
From
To
From
To
Friday
choose
One Shift
Two shift
Holiday
From
To
From
To
Saturday
choose
One Shift
Two shift
Holiday
From
To
From
To
ID#
Username
Email
Mobile
Country
State
Action
1
Shihab
<EMAIL_ADDRESS>123456789
India
Kerala
Remove
ID#
Product Image
Product name
Price
Qty
SKU
Created by
Created Date
Status
Action
1
Image file
Iris Pro 80 mobiles
10000
25
SK1221
Shihab
24-05-2018
Enabled
View
Store name


Choose how many paragraphs of silly dino speak you want as well as how many words you want in each paragraph


Toggle navigation
Menu
Thierry
Home
Skills
Portfolio
About
Contact
Français
English
Skills
Web Development:
80% Complete
70% Complete
50% Complete
60% Complete
60% Complete
60% Complete
Languages:
French:
English:
Cambodian:
Trilingual
I have done translation in all 3 languages.


Credits
This project was done as part of the "Reinforcement Learning" course at the University of Amsterdam in the academic year of 2020-2021.
The contributors are Angelo Groot, Jordan Earle, Melle Vessies and Reitze Jansen.
References
Van Hasselt, H., Doron, Y., Strub, F., Hessel, M., Sonnerat, N., & Modayil, J. (2018). Deep reinforcement learning and the deadly triad. arXiv preprint arXiv:1812.02648.
Mnih, V., Kavukcuoglu, K., Silver, D., Graves, A., Antonoglou, I., Wierstra, D., & Riedmiller, M. (2013). Playing atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602.
Henderson, P., Islam, R., Bachman, P., Pineau, J., Precup, D., & Meger, D. (2017). Deep reinforcement learning that matters. arXiv preprint arXiv:1709.06560.
Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., ... & Petersen, S. (2015). Human-level control through deep reinforcement learning. nature, 518(7540), 529-533.
{% endblock %}


---
layout: splash
permalink: /
header:
overlay_color: "#5e616c"
overlay_image: "cactus.jpg"
cta_label: " Install Now"
cta_url: "/docs/quick-start-guide"
caption:
excerpt: 'Was developed by a consortium of leading European research organisations, which received funding from the European Commission under the Seventh Framework Programme.
{::nomarkdown} {:/nomarkdown}'
feature_row:
- image_path: "cactoscale.png"
alt: "Discover CactoScale"
title: "Discover CactoScale"
excerpt: "CactoScale integrates multiple sources of performance and error monitoring data into a consolidated architecture with a unified interface and storage architecture."
url: "/docs/installation-guides/installation-of-cactoscale/"
btn_label: "Learn More"
btn_class: "btn--success"
- image_path: "cactoopt.png"
alt: "Discover CactoOpt"
title: "Discover CactoOpt"
excerpt: "The purpose of CactoOpt is to facilitate the optimisation of data centre infrastructures with respect to the efficient provisioning of computational and storage resources to virtual machines in the context of IaaS-based cloud data centres."
url: "/docs/installation-guides/installation-of-cactoopt-and-integration-tools/"
btn_label: "Learn More"
btn_class: "btn--success"
- image_path: "cactosim.png"
alt: "Discover CactoSim"
title: "Discover CactoSim"
excerpt: "CactoSim is a prediction and simulation environment for diverse application workloads. It enables you to simulate optimisation models, predict the behaviour of applications on different resources, as well as validate and improve models."
url: "/docs/installation-guides/installation-of-cactosim/"
btn_label: "Learn More"
btn_class: "btn--success"
github:
- excerpt: '{::nomarkdown} {:/nomarkdown}'
intro:
- excerpt: 'Get the latest news of CACTOS [ @cactosfp7](https://twitter.com/cactosfp7){: .btn .btn--twitter}'
---
{% include feature_row id="intro" type="center" %}
{% include feature_row %}


Table of Contents
Bases: object
A class to extract pixels from a single image
Methods
| __call__(index) | Extract strong pixels from an image |
Bases: object
Class to find spots in an image and extract them into shoeboxes.
Methods
| __call__(imageset) | Find the spots in the imageset |
Bases: object
A class to hold the result from spot finding on an image.
When doing multi processing, we can process the result of each thread as it comes in instead of waiting for all results. The purpose of this class is to allow us to set the pixel list to None after each image to lower memory usage.
Bases: object
A class to do spot finding and filtering.
Methods
| __call__(datablock) | Do the spot finding. |
A function to run jobs in batches in each process
Bases: object
Methods
| __call__(flags, **kwargs) | Call the filter and print information. |
| run(flags[, sweep, shoeboxes]) |
Bases: object
Methods
| __call__(flags, **kwargs) | Call the filter and print information. |
| run(flags[, sweep, observations]) | Run the filtering. |
Bases: object
A class to run multiple filters in succession.
Methods
| __call__(flags, **kwargs) | Call the filters one by one. |
| check_flags(flags[, predictions, ...]) | Check the flags are set, if they’re not then create a list of Trues equal to the number of items given. |
Check the flags are set, if they’re not then create a list of Trues equal to the number of items given.
| Parameters: |
|
|---|---|
| Returns: | The filtered flags |
Bases: object
Filter the reflections by the number of pixels in the shoeboxes.
Methods
| __call__(flags, **kwargs) | Call the filter and print information. |
| run(flags[, observations, shoeboxes]) | Run the filtering. |
Bases: object
Methods
| __call__(flags, **kwargs) | Call the filter and print information. |
| run(flags[, observations, shoeboxes]) | Run the filtering. |
Bases: object
Methods
| __call__(flags, **kwargs) | Call the filter and print information. |
| run(flags[, sweep, observations]) |
Bases: object
Methods
| __call__(flags, **kwargs) | Call the filter and print information. |
| run(flags[, sweep, observations]) |
Bases: object
Factory class to create spot finders
Methods
| configure_algorithm(params) | Given a set of parameters, construct the spot finder |
| configure_filter(params) | Get the filter strategy. |
| configure_threshold(params) | Get the threshold strategy |
| from_parameters([params]) | Given a set of parameters, construct the spot finder |
| load_image(filename_or_data) | Given a filename, load an image. |
Given a set of parameters, construct the spot finder
| Parameters: | params – The input parameters |
|---|---|
| Returns: | The spot finder instance |
Get the filter strategy.
| Parameters: | params – The input parameters |
|---|---|
| Returns: | The filter algorithm |
Get the threshold strategy
| Parameters: | params – The input parameters |
|---|---|
| Returns: | The threshold algorithm |


ANOUNCEMENTS
MENTORS
What do you need help with?
What's your location (Based on the maps below)?
Submit
Maps


Powered by HTML and CSS
Powered by Flexbox and JQuery
Powered by Bootstrap
If you want to see the psd, its right Here. If you want to see the sketch, its right Here !
Here is the old version of the portfolio site and personal site, made only with html and inline styling. Assignment 2. And for good measure, here is the flowchart I made for assignment 5.


--- title: definition.real_valued_function keywords: fastai sidebar: home_sidebar summary: "Something aboutl real valued functions" description: "Something aboutl real valued functions" nb_path: "nbs/definition.real_valued_function.ipynb" ---
A real valued function is a function $f: D \to R$ from any domain to a codomain $R$ which is a subset of the set $\mathbb{R}$ of real numbers.
A real valued function is tantamount to a function $f: D \to \mathbb{R}$.


|
| CompilationUnit |
::= |
( PackageDeclaration
)?
( ImportDeclaration
)*
( TypeDeclaration
)+
|
|
| PackageDeclaration |
::= |
Modifiers
"package"
Name
";"
|
|
| ImportDeclaration |
::= |
"import"
( "static"
)?
Name
( "."
"*"
)?
";"
|
/*
* Modifiers. We match all modifiers in a single rule to reduce the chances of
* syntax errors for simple modifier mistakes. It will also enable us to give
* better error messages.
*/
|
| Modifiers |
::= |
( ( <PUBLIC>
| <STATIC>
| <PROTECTED>
| <PRIVATE>
| <FINAL>
| "abstract"
| "synchronized"
| "native"
| "transient"
| "volatile"
| "strictfp"
| Annotation
))*
|
/*
* Declaration syntax follows.
*/
|
| TypeDeclaration |
::= |
( ";"
| Modifiers
( ClassDeclaration
| InterfaceDeclaration
| EnumDeclaration
| AnnotationTypeDeclaration
) ) |
// void ClassDeclaration() #void :
|
| ClassDeclaration |
::= |
"class"
<IDENTIFIER>
( TypeParameters
)?
( ExtendsList
)?
( ImplementsList
)?
ClassOrInterfaceBody
|
|
| InterfaceDeclaration |
::= |
"interface"
<IDENTIFIER>
( TypeParameters
)?
( ExtendsList
)?
ClassOrInterfaceBody
|
|
| ExtendsList |
::= |
"extends"
ClassOrInterfaceType
( ","
ClassOrInterfaceType
)*
|
|
| ImplementsList |
::= |
"implements"
ClassOrInterfaceType
( ","
ClassOrInterfaceType
)*
|
|
| EnumDeclaration |
::= |
"enum"
<IDENTIFIER>
ImplementsList
EnumBody
|
|
| EnumBody |
::= |
"{"
( EnumConstant
( ","
EnumConstant
)*
)?
( ","
)?
( ";"
( ClassOrInterfaceBodyDeclaration
)*
)?
"}"
|
|
| EnumConstant |
::= |
Modifiers
<IDENTIFIER>
( Arguments
)?
( ClassOrInterfaceBody
)?
|
|
| TypeParameters |
::= |
"<"
TypeParameter
( ","
TypeParameter
)*
">"
|
|
| TypeParameter |
::= |
<IDENTIFIER>
( TypeBound
)?
|
|
| TypeBound |
::= |
"extends"
ClassOrInterfaceType
( "&"
ClassOrInterfaceType
)*
|
|
| ClassOrInterfaceBody |
::= |
"{"
( ClassOrInterfaceBodyDeclaration
)*
"}"
|
|
| ClassOrInterfaceBodyDeclaration |
::= |
Initializer
| Modifiers
( ClassDeclaration
| InterfaceDeclaration
| EnumDeclaration
| ConstructorDeclaration
| FieldDeclaration
| MethodDeclaration
)| ";"
|
|
| FieldDeclaration |
::= |
Type
VariableDeclarator
( ","
VariableDeclarator
)*
";"
|
|
| VariableDeclarator |
::= |
VariableDeclaratorId
( "="
VariableInitializer
)?
|
|
| VariableDeclaratorId |
::= |
<IDENTIFIER>
( "["
"]"
)*
|
|
| VariableInitializer |
::= |
ArrayInitializer
| Expression
|
|
| ArrayInitializer |
::= |
"{"
( VariableInitializer
( ","
VariableInitializer
)*
)?
( ","
)?
"}"
|
|
| MethodDeclaration |
::= |
( TypeParameters
)?
ReturnType
MethodDeclarator
( ThrowsList
)?
( Block
| ";"
) |
|
| MethodDeclarator |
::= |
<IDENTIFIER>
FormalParameters
( "["
"]"
)*
|
|
| FormalParameters |
::= |
"("
( FormalParameter
( ","
FormalParameter
)*
)?
")"
|
|
| FormalParameter |
::= |
Modifiers
Type
( "..."
)?
VariableDeclaratorId
|
|
| ConstructorDeclaration |
::= |
( TypeParameters
)?
<IDENTIFIER>
FormalParameters
( ThrowsList
)?
"{"
( ExplicitConstructorInvocation
)?
( BlockStatement
)*
"}"
|
|
| ExplicitConstructorInvocation |
::= |
"this"
Arguments
";"
| ( PrimaryExpression
"."
)?
"super"
Arguments
";"
|
|
| Initializer |
::= |
( "static"
)?
Block
|
/*
* Type, name and expression syntax follows.
*/
|
| Type |
::= |
ReferenceType
| PrimitiveType
|
|
| ReferenceType |
::= |
PrimitiveArrayType
| ( ClassOrInterfaceType
) ( "["
"]"
)*
|
|
| ClassOrInterfaceType |
::= |
<IDENTIFIER>
( TypeArguments
)?
( "."
<IDENTIFIER>
( TypeArguments
)?
)*
|
|
| TypeArguments |
::= |
"<"
TypeArgument
( ","
TypeArgument
)*
">"
|
|
| TypeArgument |
::= |
ReferenceType
| "?"
( WildcardBounds
)?
|
|
| WildcardBounds |
::= |
( "extends"
| "super"
) ReferenceType
|
|
| PrimitiveType |
::= |
"boolean"
| "char"
| "byte"
| "short"
| "int"
| "long"
| "float"
| "double"
|
|
| PrimitiveArrayType |
::= |
PrimitiveType
( "["
"]"
)+
|
|
| ReturnType |
::= |
( "void"
| Type
) |
|
| Name |
::= |
<IDENTIFIER>
( "."
<IDENTIFIER>
)*
|
|
| ThrowsList |
::= |
"throws"
Name
( ","
Name
)*
|
/*
* Expression syntax follows.
*/
|
| Expression |
::= |
AssignmentExpression
|
/*
* This expansion has been written this way instead of:
* Assignment() | TernaryExpression()
* for performance reasons.
* However, it is a weakening of the grammar for it allows the LHS of
* assignments to be any conditional expression whereas it can only be
* a primary expression. Consider adding a semantic predicate to work
* around this.
*/
|
| AssignmentExpression |
::= |
TernaryExpression
( AssignmentOperator
Expression
)?
|
|
| AssignmentOperator |
::= |
"="
| "*="
| "/="
| "%="
| "+="
| "-="
| "<<="
| ">>="
| ">>>="
| "&="
| "^="
| "|="
|
|
| TernaryExpression |
::= |
ConditionalOrExpression
( "?"
Expression
":"
Expression
)?
|
|
| ConditionalOrExpression |
::= |
ConditionalAndExpression
( "||"
ConditionalAndExpression
)*
|
|
| ConditionalAndExpression |
::= |
InclusiveOrExpression
( "&&"
InclusiveOrExpression
)*
|
|
| InclusiveOrExpression |
::= |
ExclusiveOrExpression
( "|"
ExclusiveOrExpression
)*
|
|
| ExclusiveOrExpression |
::= |
AndExpression
( "^"
AndExpression
)*
|
|
| AndExpression |
::= |
EqualityExpression
( "&"
EqualityExpression
)*
|
|
| EqualityExpression |
::= |
InstanceOfExpression
( ( "=="
| "!="
) InstanceOfExpression
)*
|
|
| InstanceOfExpression |
::= |
RelationalExpression
( "instanceof"
Type
)?
|
|
| RelationalExpression |
::= |
ShiftExpression
( ( "<"
| ">"
| "<="
| ">="
) ShiftExpression
)*
|
|
| ShiftExpression |
::= |
AdditiveExpression
( ( "<<"
| ">>"
| ">>>"
) AdditiveExpression
)*
|
|
| AdditiveExpression |
::= |
MultiplicativeExpression
( ( "+"
| "-"
) MultiplicativeExpression
)*
|
|
| MultiplicativeExpression |
::= |
UnaryExpression
( ( "*"
| "/"
| "%"
) UnaryExpression
)*
|
|
| UnaryExpression |
::= |
( "+"
| "-"
) UnaryExpression
| PreIncrementExpression
| PreDecrementExpression
| UnaryExpressionNotPlusMinus
|
|
| PreIncrementExpression |
::= |
"++"
PrimaryExpression
|
|
| PreDecrementExpression |
::= |
"--"
PrimaryExpression
|
|
| UnaryExpressionNotPlusMinus |
::= |
( "~"
| "!"
) UnaryExpression
| CastExpression
| PostfixExpression
|
// This production is to determine lookahead only. The LOOKAHEAD specifications
// below are not used, but they are there just to indicate that we know about
// this.
|
| CastLookahead |
::= |
"("
PrimitiveType
| "("
Type
"["
"]"
| "("
Type
")"
( "~"
| "!"
| "("
| <IDENTIFIER>
| "this"
| "super"
| "new"
| Literal
) |
|
| PostfixExpression |
::= |
PrimaryExpression
( "++"
| "--"
)?
|
|
| CastExpression |
::= |
"("
Type
")"
UnaryExpression
| "("
Type
")"
UnaryExpressionNotPlusMinus
|
|
| PrimaryExpression |
::= |
PrimaryPrefix
( PrimarySuffix
)*
|
|
| MemberSelector |
::= |
"."
TypeArguments
<IDENTIFIER>
|
|
| PrimaryPrefix |
::= |
Literal
| "this"
| "super"
"."
<IDENTIFIER>
| "("
Expression
")"
| AllocationExpression
| ReturnType
"."
"class"
| Name
|
|
| PrimarySuffix |
::= |
"."
"this"
| "."
AllocationExpression
| MemberSelector
| "["
Expression
"]"
| "."
<IDENTIFIER>
| Arguments
|
|
| Literal |
::= |
<INTEGER_LITERAL>
| <FLOATING_POINT_LITERAL>
| <CHARACTER_LITERAL>
| <STRING_LITERAL>
| "true"
| "false"
| "null"
|
|
| IntegerLiteral |
::= |
<INTEGER_LITERAL>
|
|
| Arguments |
::= |
"("
( Expression
( ","
Expression
)*
)?
")"
|
|
| AllocationExpression |
::= |
"new"
PrimitiveType
ArrayDimsAndInits
| "new"
ClassOrInterfaceType
( TypeArguments
)?
( ArrayDimsAndInits
| Arguments
( ClassOrInterfaceBody
)?
) |
/*
* The third LOOKAHEAD specification below is to parse to PrimarySuffix
* if there is an expression between the "[...]".
*/
|
| ArrayDimsAndInits |
::= |
( "["
Expression
"]"
)+
( "["
"]"
)*
| ( "["
"]"
)+
ArrayInitializer
|
/*
* Statement syntax follows.
*/
|
| Statement |
::= |
LabeledStatement
| AssertStatement
| Block
| EmptyStatement
| StatementExpression
";"
| SwitchStatement
| IfStatement
| WhileStatement
| DoStatement
| ForStatement
| BreakStatement
| ContinueStatement
| ReturnStatement
| ThrowStatement
| SynchronizedStatement
| TryStatement
|
|
| AssertStatement |
::= |
"assert"
Expression
( ":"
Expression
)?
";"
|
|
| LabeledStatement |
::= |
<IDENTIFIER>
":"
Statement
|
|
| Block |
::= |
"{"
( BlockStatement
)*
"}"
|
|
| BlockStatement |
::= |
LocalVariableDeclaration
";"
| Statement
| ClassDeclaration
| InterfaceDeclaration
|
|
| LocalVariableDeclaration |
::= |
Modifiers
Type
VariableDeclarator
( ","
VariableDeclarator
)*
|
|
| EmptyStatement |
::= |
";"
|
|
| StatementExpression |
::= |
PreIncrementExpression
| PreDecrementExpression
| PrimaryExpression
( "++"
| "--"
| AssignmentOperator
Expression
)?
|
|
| SwitchStatement |
::= |
"switch"
"("
Expression
")"
"{"
( SwitchLabel
( BlockStatement
)*
)*
"}"
|
|
| SwitchLabel |
::= |
"case"
Expression
":"
| "default"
":"
|
|
| IfStatement |
::= |
"if"
"("
Expression
")"
Statement
( "else"
Statement
)?
|
|
| WhileStatement |
::= |
"while"
"("
Expression
")"
Statement
|
|
| DoStatement |
::= |
"do"
Statement
"while"
"("
Expression
")"
";"
|
|
| ForStatement |
::= |
"for"
"("
( Modifiers
Type
<IDENTIFIER>
":"
Expression
| ( ForInit
)?
";"
( Expression
)?
";"
( ForUpdate
)?
) ")"
Statement
|
|
| ForInit |
::= |
LocalVariableDeclaration
| StatementExpressionList
|
|
| StatementExpressionList |
::= |
StatementExpression
( ","
StatementExpression
)*
|
|
| ForUpdate |
::= |
StatementExpressionList
|
|
| BreakStatement |
::= |
"break"
( <IDENTIFIER>
)?
";"
|
|
| ContinueStatement |
::= |
"continue"
( <IDENTIFIER>
)?
";"
|
|
| ReturnStatement |
::= |
"return"
( Expression
)?
";"
|
|
| ThrowStatement |
::= |
"throw"
Expression
";"
|
|
| SynchronizedStatement |
::= |
"synchronized"
"("
Expression
")"
Block
|
|
| TryStatement |
::= |
"try"
Block
( FinallyBlock
| ( ( CatchBlock
)+
( FinallyBlock
)?
) ) |
|
| CatchBlock |
::= |
"catch"
"("
FormalParameter
")"
Block
|
|
| FinallyBlock |
::= |
"finally"
Block
|
/* Annotation syntax follows. */
|
| Annotation |
::= |
NormalAnnotation
| SingleMemberAnnotation
| MarkerAnnotation
|
|
| NormalAnnotation |
::= |
"@"
Name
"("
( MemberValuePairs
)?
")"
|
|
| MarkerAnnotation |
::= |
"@"
Name
|
|
| SingleMemberAnnotation |
::= |
"@"
Name
"("
MemberValue
")"
|
|
| MemberValuePairs |
::= |
MemberValuePair
( ","
MemberValuePair
)*
|
|
| MemberValuePair |
::= |
<IDENTIFIER>
"="
MemberValue
|
|
| MemberValue |
::= |
Annotation
| MemberValueArrayInitializer
| TernaryExpression
|
|
| MemberValueArrayInitializer |
::= |
"{"
MemberValue
( ","
MemberValue
)*
( ","
)?
"}"
|
/* Annotation Types. */
|
| AnnotationTypeDeclaration |
::= |
"@"
"interface"
<IDENTIFIER>
AnnotationTypeBody
|
|
| AnnotationTypeBody |
::= |
"{"
( AnnotationTypeMemberDeclaration
)*
"}"
|
|
| AnnotationTypeMemberDeclaration |
::= |
Modifiers
( Type
<IDENTIFIER>
"("
")"
( DefaultValue
)?
";"
| ClassDeclaration
| InterfaceDeclaration
| EnumDeclaration
| AnnotationTypeDeclaration
| FieldDeclaration
)| ( ";"
) |
|
| DefaultValue |
::= |
"default"
MemberValue
|
<DEFAULT> SPECIAL_TOKEN : {
<WHITESPACE: (" " | "\t" | "\n" | "\r" | "\f")+>
}
|
<DEFAULT> MORE : {
"//"
|<"/**" ~["/"]>
|"/*"
}
|
<IN_SINGLE_LINE_COMMENT> SPECIAL_TOKEN : {
<SINGLE_LINE_COMMENT: "\n" | "\r" | "\r\n">
}
|
<IN_FORMAL_COMMENT> SPECIAL_TOKEN : {
<FORMAL_COMMENT: "*/">
}
|
<IN_MULTI_LINE_COMMENT> SPECIAL_TOKEN : {
<MULTI_LINE_COMMENT: "*/">
}
|
<IN_SINGLE_LINE_COMMENT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT> MORE : {
<~[]>
}
|
<DEFAULT> TOKEN : {
<ABSTRACT: "abstract">
|<ASSERT: "assert">
|<BOOLEAN: "boolean">
|<BREAK: "break">
|<BYTE: "byte">
|<CASE: "case">
|<CATCH: "catch">
|<CHAR: "char">
|<CLASS: "class">
|<CONST: "const">
|<CONTINUE: "continue">
|<_DEFAULT: "default">
|<DO: "do">
|<DOUBLE: "double">
|<ELSE: "else">
|<ENUM: "enum">
|<EXTENDS: "extends">
|<FALSE: "false">
|<FINAL: "final">
|<FINALLY: "finally">
|<FLOAT: "float">
|<FOR: "for">
|<GOTO: "goto">
|<IF: "if">
|<IMPLEMENTS: "implements">
|<IMPORT: "import">
|<INSTANCEOF: "instanceof">
|<INT: "int">
|<INTERFACE: "interface">
|<LONG: "long">
|<NATIVE: "native">
|<NEW: "new">
|<NULL: "null">
|<PACKAGE: "package">
|<PRIVATE: "private">
|<PROTECTED: "protected">
|<PUBLIC: "public">
|<RETURN: "return">
|<SHORT: "short">
|<STATIC: "static">
|<STRICTFP: "strictfp">
|<SUPER: "super">
|<SWITCH: "switch">
|<SYNCHRONIZED: "synchronized">
|<THIS: "this">
|<THROW: "throw">
|<THROWS: "throws">
|<TRANSIENT: "transient">
|<TRUE: "true">
|<TRY: "try">
|<VOID: "void">
|<VOLATILE: "volatile">
|<WHILE: "while">
}
|
<DEFAULT> TOKEN : {
<INTEGER_LITERAL: <DECIMAL_LITERAL> (["l","L"])? | <HEX_LITERAL> (["l","L"])? | <OCTAL_LITERAL> (["l","L"])?>
|<FLOATING_POINT_LITERAL: <DECIMAL_FLOATING_POINT_LITERAL> | <HEXADECIMAL_FLOATING_POINT_LITERAL>>
|<CHARACTER_LITERAL: "\'" (~["\'","\\","\n","\r"] | "\\" (["n","t","b","r","f","\\","\'","\""] | ["0"-"7"] (["0"-"7"])? | ["0"-"3"] ["0"-"7"] ["0"-"7"])) "\'">
|<STRING_LITERAL: "\"" (~["\"","\\","\n","\r"] | "\\" (["n","t","b","r","f","\\","\'","\""] | ["0"-"7"] (["0"-"7"])? | ["0"-"3"] ["0"-"7"] ["0"-"7"]))* "\"">
}
|
<DEFAULT> TOKEN : {
<LPAREN: "(">
|<RPAREN: ")">
|<LBRACE: "{">
|<RBRACE: "}">
|<LBRACKET: "[">
|<RBRACKET: "]">
|<SEMICOLON: ";">
|<COMMA: ",">
|<DOT: ".">
}
|
<DEFAULT> TOKEN : {
<ASSIGN: "=">
|<GT: ">">
|<LT: "<">
|<BANG: "!">
|<TILDE: "~">
|<HOOK: "?">
|<COLON: ":">
|<EQ: "==">
|<LE: "<=">
|<GE: ">=">
|<NE: "!=">
|<SC_OR: "||">
|<SC_AND: "&&">
|<INCR: "++">
|<DECR: "--">
|<PLUS: "+">
|<MINUS: "-">
|<STAR: "*">
|<SLASH: "/">
|<BIT_AND: "&">
|<BIT_OR: "|">
|<XOR: "^">
|<REM: "%">
|<LSHIFT: "<<">
|<RSIGNEDSHIFT: ">>">
|<RUNSIGNEDSHIFT: ">>>">
|<PLUSASSIGN: "+=">
|<MINUSASSIGN: "-=">
|<STARASSIGN: "*=">
|<SLASHASSIGN: "/=">
|<ANDASSIGN: "&=">
|<ORASSIGN: "|=">
|<XORASSIGN: "^=">
|<REMASSIGN: "%=">
|<LSHIFTASSIGN: "<<=">
|<RSIGNEDSHIFTASSIGN: ">>=">
|<RUNSIGNEDSHIFTASSIGN: ">>>=">
}
|
<DEFAULT> TOKEN : {
<IDENTIFIER: <LETTER> (<PART_LETTER>)*>
|}
|


SmartyJS comes with advanced features to allow its users to configure Smarty to their preferences. However, using these advanced features may not be for everybody. If you err on the side of caution or aren't really familiar with using similar features for other plugins, we suggest leaving the default settings in place, but if you're a bit more savvy with the way of the web, feel free to deploy your own personal touch across your instance of SmartyJS. Below are some of the possible configurations that can be made.
The bulk of SmartyJS has been made configurable through an extensive set of user settings. These settings control everything from the HTML tags to be used when writing Smarty markup to the sizing and spacing of Smarty activities at deployment. SmartyJS is configurable in two ways:
In many instances, JS and CSS configurations are reflective of one another. This means that certain configurations made to either Smarty's JS or CSS will also require that identical changes be made to Smarty's CSS or JS, respecitively, as well. For more information on how to set user preferences for SmartyJS, a complete outline of Smarty's configurable settings is provided below:
Smarty's JS can be configured by setting the plugin's options according to user preferences. By default, SmartyJS is setup and invoked at document ready using its default configurations. To change this, you can either modify the existing invocation of SmartyJS on document ready within its JS file, or you can remove the existing invocation of Smarty altogether and reinvoke SmartyJS with your preferred settings somewhere else within your site. User preferences should be declared within your initial invocation of Smarty as follows:
$.smarty({
...insert user settings here...
})
User configurations include:
| Configuration | Options | Default | Description | |
|---|---|---|---|---|
| window | parent.window window |
parent.window | Identifies the window object equivalent to the browser window. By default, parent.window is used to capture instances where Smarty may be running from within an <iframe> on a learning management system (LMS). |
|
| selectorPrefix | string- | smarty- | Defines the HTML tag prefix used for Smarty elements. If using a custom string, the prefix must end in a "-" in order to adhere to proper syntax rules. Do note, if changing this configuration in Smarty's JS, the cooresponding CSS configuration will also need to be modified. This will also affect the HTML markup of your Smarty elements. | |
| focusClass | string | tabfocus | Defines the class to be given to a tabbable element when the element is in focus. By default, a class called tabfocus is used. This class is primarily intended to allow you to style elements that are in focus. | |
| className | string | smarty | Defines the class to be given to Smarty elements. This class is only applied to the outermost Smarty element, such as a <smarty-quiz> or <smarty-crossword> . |
|
| transitionSpeed | seconds | 0.25 | Defines the speed at which transitions and/or animations take place. An acceptable value should be in a seconds format without the "s" suffix added. Do note, changing this JS value requires that the equivalent transitionSpeed configuration be set in Smarty's CSS as well. | |
| crosswords | enabled | true false |
true | Determines whether or not crosswords can be used. If set to true, crosswords are enabled. If set to false, crosswords are disabled. |
| selector | string | crossword | Defines the base HTML tag used for crosswords. This value is prefixed with the value set in selectorPrefix. | |
| name | string | crossword | Defines the text name given to crosswords. This value outputs as text to the end user where applicable. | |
| fontResize | true false |
true | Determines whether or not font size should be resized based on the crossword grid's width. If set to true, small fonts will only be resized on large screens while small screens will default to the crossword's original font size. If set to false, the crossword will always use its default font size. | |
| fontRatio | numeric | 700 / 11 | Defines the ratio used in font resizing, which requires that fontResize be set to true. The numeric value provided is used to scale the crossword's font size relative to its grid's width. | |
| minWidth | numeric | 20 | Sets the minimum acceptable font size for cells within the crossword grid. Do note, this numeric value should be equivalent to the min-width CSS value assigned to .grid td . |
|
| cellSpacing | integer | 2 | Sets the spacing between cells in the crossword grid. | |
| cellPadding | integer | 2 | Sets the padding inside cells in the crossword grid. | |
| acceptJSON | true false |
true | Determines whether or not JSON data files should be accepted for loading crossword data. Setting this to true enables you to use both HTML and JSON crossword data at the same time where your JSON data is loaded on page load. Setting this to false will help improve the performance of your Smarty application slightly since it skip the check for JSON data. | |
| acceptXML | true false |
true | Determines whether or not XML data files should be accepted for loading crossword data. Setting this to true enables you to use both HTML and XML crossword data at the same time where your XML data is loaded on page load. Setting this to false will help improve the performance of your Smarty application slightly since it will skip the check fr XML data. | |
| flashcards | enabled | true false |
true | Determines whether or not flashcards can be used. If set to true, flashcards are enabled. If set to false, flashcards are disabled. |
| selector | string | flashcard | Defines the base HTML tag used for flashcards. This value is prefixed with the value set in selectorPrefix. | |
| name | string | flashcards | Defines the text name given to flashcards. This value outputs as text to the end user where applicable. | |
| aspectRatio | numeric | 3 / 5 | Defines the aspect ratio of each card. This numeric value is used to set the height of the card relative to its width. | |
| fontResize | true false |
true | Determines whether or not font size should be resized based on the flashcard's card width. If set to true, small fonts will only be resized on large screens while small screens will default to the card's original font size. If set to false, the card will always use its default font size. | |
| fontRatio | numeric | 400 / 16 | Defines the ratio used in font resizing, which requires that fontResize be set to true and a respondAt value be set. The numeric value provided is used to scale the card's font size relative to its flashcard width. | |
| respondAt | numeric | 400 | Defines the minimum width of a flashcard before font resizing will take place. If the flashcard's width is less than this numeric value, then the card's font size will default to its original size. If the flashcard's width is greater than or equal to this numeric value and fontResize is set to true, then font resizing will occur. | |
| acceptJSON | true false |
true | Determines whether or not JSON data files should be accepted for loading flashcard data. Setting this to true enables you to use both HTML and JSON flashcard data at the same time where your JSON data is loaded on page load. Setting this to false will help improve the performance of your Smarty application slightly since it skip the check for JSON data. | |
| acceptXML | true false |
true | Determines whether or not XML data files should be accepted for loading flashcard data. Setting this to true enables you to use both HTML and XML flashcard data at the same time where your XML data is loaded on page load. Setting this to false will help improve the performance of your Smarty application slightly since it will skip the check fr XML data. | |
| quizzes | enabled | true false |
true | Determines whether or not quizzes can be used. If set to true, quizzes are enabled. If set to false, quizzes are disabled. |
| selector | string | quiz | Defines the base HTML tag used for quizzes. This value is prefixed with the value set in selectorPrefix. | |
| name | string | quiz | Defines the text name given to quizzes. This value outputs as text to the end user where applicable. | |
| respondAt | numeric | 600 | Defines the minimum width of a quiz before responsive styles are implemented. Do note, if changes are made to this JS configuration, then equivalent changes will need to be made to the quiz breakpoint CSS configuration. | |
| fontResize | true false |
true | Determines whether or not font size should be resized based on the flashcard's card width. If set to true, small fonts will only be resized on large screens while small screens will default to the card's original font size. If set to false, the card will always use its default font size. | |
| defaultMode | sliding streamline |
sliding | Defines the default mode used for all quizzes when a quiz's data-mode attribute was not set. |
|
| acceptJSON | true false |
true | Determines whether or not JSON data files should be accepted for loading quiz data. Setting this to true enables you to use both HTML and JSON quiz data at the same time where your JSON data is loaded on page load. Setting this to false will help improve the performance of your Smarty application slightly since it skip the check for JSON data. | |
| acceptXML | true false |
true | Determines whether or not XML data files should be accepted for loading quiz data. Setting this to true enables you to use both HTML and XML quiz data at the same time where your XML data is loaded on page load. Setting this to false will help improve the performance of your Smarty application slightly since it will skip the check fr XML data. |
To work around CSS limitations, Smarty was originally built on SASS. Thus, a special SCSS configuration file is included within the SmartyJS package to help make configuring Smarty's CSS easier. Do note that while using SASS to preprocess Smarty's CSS configurations can make the process much less painful, it's not a requisite that SASS be used. Although, configuring Smarty's CSS file directly will definitely be much harder than simply using SASS. Thus, we recommended that any CSS changes be made by using the following steps:
_config.scss
file found in the SmartyJS SCSS folder in your preferred text or code editor.Make any necessary changes according to the configurable settings shown below:
| Configuration | Default | Description | |
|---|---|---|---|
| $selectors | prefix | smarty- | This value should be equivalent to the selectorPrefix above in Smarty's JS configurations. |
| class | smarty | This value should be equivalent to the className above in Smarty's JS configurations. | |
| crossword | crossword | This value should be equivalent to crosswords.selector above in Smarty's JS configurations. | |
| flashcard | flashcard | This value should be equivalent to flashcards.selector above in Smarty's JS configurations. | |
| quiz | quiz | This value should be equivalent to quizzes.selector above in Smarty's JS configurations. | |
| $scheme | default | This value is set to the name of a color scheme, which contains five (5) colors. A $schemes map is used to allow you to create an infinite number of five-color color schemes from which you can choose your preferred $scheme from. The default color scheme consists of:
|
|
| $dark | #333333 | This color is used for dark text over light backgrounds or for accenting as needed. By default, #333333 is used. |
|
| $light | #FFFFFF | This color is used for light text over dark backgrounds or for accenting as needed. By default, #FFFFFF is used. |
|
| $pass | #399E5A | This color is used for emphasis. By default, #399E5A is used. |
|
| $incomplete | #FFBA08 | This color is used for emphasis. By default, #FFBA08 is used. |
|
| $partial | #FFBA08 | This color is used for emphasis. By default, #FFBA08 is used. |
|
| $fail | #D00000 | This color is used for emphasis. By default, #D00000 is used. |
|
| $warning | #D00000 | This color is used for emphasis. By default, #D00000 is used. |
|
| $highlight | #FFBA08 | This color is used for highlighting words within the crossword grid. Do note, the color is lightened and made semi-transparent when applied. By default, #FFBA08 is used. |
|
| $transitionSpeed | 0.25s | This value should be equivalent to the transitionSpeed above in Smarty's JS configurations. Do note, this value should be suffixed with "s" whereas the JS configuration should not. | |
| $breakpoints | quiz | 600px | This value should be equivalent to quizzes.respondAt above in Smarty's JS configurations. Do note, this value should be suffixed with "px" whereas the JS configuration should not. |
When done making changes, recompile your main SASS file:
smarty.scss
file, outputting it as smarty.css
.Optionally, you can minify your CSS file if preferred.
Relink your new CSS file to your site, and enjoy!


Mushrooms - P. Cubensis
Overall I would have to say that the following trip was a good experience. Maybe not necessarily fun the entire time, but enlightening and instructive.
Anyway, I bought an eighth of shrooms from a co-worker of mine and decided to trip that night. I learned later was that these were extremely powerful mushrooms; much more so than any I had previously experienced, but I ate the whole eighth anyway. Ok, so I chopped up the eighth and ate it with some bread and jelly. As I sat alone in a friend's apartment, I noticed that some of the stucco on the walls was beginning to move and drip. This was the first indication that these were not normal shrooms. These open-eye visuals began only 30 minutes after ingestion, which I took note of but it didn't really bother me. Normally I don't see things till about ninety minutes in.
After a little while, my friends came back and I was starting to really leave the planet. I moved while I was still mildly coherent into another room and turned on some music. For probably an hour and a half, I sat by myself in a room absolutely dissolved in the enormity of the experience. The open eye hallucinations were a lot of a powerful 'pulsing' sight, and bright patterns on the walls that I could only describe as 'Mayan' in appearance. When my eyes were closed I was rapt in a world of swirling globes and I felt as if I was diving under the earth, but that the profoundly odd image of music itself was guiding me on the way. The most distinct memory I have of this stage was noticing that my mouth was wide open the entire time, and I felt a deep sense of awe. It felt like all the stars and nebulae had lowered to around ten feet above my head and I was permitted to view them close up. Very cool.
While still on the other side of reality, and one hundred percent insane, I watched some TV. I felt like I was swirling in warm oil, very comfortable and womb-like. Most of my friends were in another room again. This was probably somewhere around the two and a half hour mark. I had no sense of time and I had no idea how long I had been alone. I got the idea that my buddies were avoiding me. I began to feel uncomfortable. The anxiety kicked in full when I thought I heard someone say, 'He's tripping too hard'. I thought I was in trouble, and I sensed loss of control. I needed a sitter, or someone to talk me down, but my friends were not having a good night themselves and they were not in the mood to deal with me. The trip changed gears on me instantaneously. I had felt mostly good, and now, suddenly, I felt quite bad. powerful anxiety and nausea quickly came over me. I knew I was getting the Fear. I ran to the bathroom and vomited, and I felt a little better, more relaxed.
While recovering after vomiting, the fear came harder. I opened my eyes and realized I was floating in blood. I saw the toilet and it looked massive and it towered over me. a fountain of blood erupted from the bowl and poured over head. I wanted to cry, but the vision passed relatively quickly. I was still extremely uncomfortable, but I was conscious and at least aware of what was going on at this point. I got a friend to drive me home, which was intense in itself. I was coming down but I was far from back to normal.
To make a long story short, I spent the rest of the night whimpering under my sheets and pleading with god to make it stop while the enormity of numbers and time itself threatened to crush me like a roach. The trip was good at first, but I overstepped my bounds and went too far.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


There is a great thread on pprune that contains a fascinating discussion from experts about Concorde. The thread has nearly 2000 posts and around 100 pages. Naturally enough it is ordered in time of each post but since it covers so many subjects it is a little hard to follow a particular subject.
Here I have reorganised the original thread by subject semi-automatically using Python. Any post that refers to a subject is included in a page in the original order of the posts. Posts that mention multiple subjects are duplicated appropriately. I have not changed the content of any post and this includes links and images. Each post is linked to the original so that you can check ;-)
Here are all 143 subjects I have identified with the number of posts for each subject:
The most prolific 20 posters in the original thread:


Let's get spacey.
You can quickly change the text if you want, or show the percentage saved on the purchase instead of a static text. To show the percentage, i suggest the extension Sale Flash Pro, to change instead .
You can quickly change the text if you want, or show the percentage saved on the purchase instead of a static text. To show the percentage, i suggest the extension Sale Flash Pro, to change instead .


| DOSE: |
15 ml |
oral |
GBL |
(daily) |
Last night was an extremely bizarre and sad night. I sat down to type my book and wrote maybe half a page and the doorbell rings. It's some drunken old man who says he lives across the street. He said he was having chest pain and other symptoms and his phone isn't working so he needs me to call the hospital for him. When the EMS guys come they grumble something about being there twice in one day. I thought maybe they had picked up the guy earlier that day and didn't think much of it.
I sat back down at my desk after they left and typed another few sentences before the door-bell rang again! It was my sisters friend D. She told me that my sister and her girlfriend were in the hospital going through massive withdrawl from GBL to the point where they were hallucinating and deusional. My sisters girfriend thought she was talking to god. At that point I got a call from my friend Rob. I picked him up and we found out what hospital she was in and headed over there.
When we got there my mom was there already. My sister was shaking and spasming. Her pupils were dilated and she was sweating. The symptoms were exactly like those of Delerium Tremens.
It was really scary. None of the literature I have read on GHB/GBL mentions that the withdrawl can be that bad. I always thought that it was possible for it to cause severe withdrawl from large amounts given the way it acts in the brain and the fact that when I did it semi-regularly for a week and then stopped (because I don't like to do anything too frequently) I had some paranoid thoughts that made me act very irrationally- but now I am sure of it.
I hope the doctors know about GBL and give her a benzodiazepine or something to relax her withdrawls instead of trying to give her morphine or another opiate and end up addicting her to that. I wish I could be there for her, I wish I could tell the doctors more about the drug without them getting mad at me. But I am currently at work and I am typing this on my break and I won't get off for another seven hours.
I think it is important that I let people know that although GBL is fun and seems harmless in small amounts, if you find yourself taking more than one dose a day or if you take it everyday for a long period of time you should stop before it gets out of hand. Before my sister ended up in the hospital, I estimate that she was taking 10 - 15ml of GBL per day. I am unsure how long she was doing this for.
If a person decides to take GBL they should give themselves at least a week out of the month where they don't take it and at least two days out of each other week off of it as well. You do not want to end up like my sister. I am unsure how long the withdrawl symptoms will last although even one day like that is too much. I still don't believe that GBL is any worse than alcohol(which causes dangerous withdwarl symptoms itself)- but too much of any good thing can be dangerous. So just be careful!
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Click on the Action Verb in the boxes that is shown by the pictures.


Log in
Signup for FREE and start earning.
Gender
Male
Female
Register

I have read and agree to BAFLike's
User Agreement
and
Privacy Policy


--- layout: post title: Improving the Performance of a VM by Using a Real Disk Partition date: 2012-08-22 9:29:00 summary: A virtual machine can also use a real partition, and this can improve its performance. tags: [Virtual Machines, System Administration] ---
I have used zentyal as a gateway server, and it is actually running on a virtual machine. An important component of it is squid, which is supposed to improve the efficiency of the network connection by saving in cache the web pages that have been already visited, and fetching them from the cache when they are re-visited.
This is an operation that makes intesive usage of the disk, and virtual disks (used on virtual machines) are not particularly efficient for it. However, a virtual machine can also use a real partition, so the efficience of squid can be improved by attaching a real partition to the virtual machine and using it for the cache.
The host where zentyal is installed is a CentOS system, and the disk partitions are managed by LVM. So, first of all we should create a new LVM partition to be attached to the virtual machine:
vgdisplay lvdisplay lvcreate vg_data -L 50G -n /dev/vg_data/lv_cache
In LVM, Volume Groups (VG) are the equivalents of disks, and Logical Volumes (LV) are the equivalents of partitions. In this case, we are creating a logical volume with name /dev/vg_data/lv_cache, on the volume group with name vg_data. The size of this LV partition is 50G, and this is enough for the squid cache.
Then we add this partition to the configuration file of the virtual
machine /etc/libvirt/qemu/zentyal.xml
:
<devices> . . . . . <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/vg_data/lv_cache'/> <target dev='sdb' bus='ide'/> <address type='drive' controller='0' bus='0' unit='1'/> </disk> . . . . . </devices>
Inside the virtual machine this disk will appear and will be accessed as /dev/sdb.
Now we have to enable it, by reloading (re-defining) the configuration file:
virsh define /etc/libvirt/qemu/zentyal.xml virsh shutdown zentyal virsh start zentyal
Inside the virtual machine (zentyal), we can access the new disk as /dev/sdb. First we have to format and mount it, and then we can change the squid configuration to use it.
mkfs.reiserfs -f /dev/sdb
/etc/fstab
:
/dev/sdb /var/spool/squid reiserfs defaults,notail,noatime 1 2
service squid stop rm -rf /var/spool/squid/* mount -a chown proxy:proxy /var/spool/squid/ chmod 750 /var/spool/squid/ squid -z service squid start
/usr/share/zentyal/stubs/squid/squid.conf.mas
and change
this line:
cache_dir ufs /var/spool/squid <% $cacheDirSize %> 16 256
to this one (by adding an a
option):
cache_dir aufs /var/spool/squid <% $cacheDirSize %> 16 256
Then restart:
service squid restart


Sex Education in the United States is an animated motion graphics video that I worked on with Malin Mahoney. Together we conceptualized, researched, wrote, recorded voice over, designed, created assets in Illustrator, and animated the project in AfterEffects.
Music: Catching Shadows by Ivan Trevino


Masked university students rally at graduation ceremony in Hong Kong
by ReutersHONG KONG: About 1,000 students, many wearing black masks, attended a graduation ceremony at the Chinese University of Hong Kong on Thursday, with some holding up banners urging “Free Hong Kong, Revolution Now”.
The students defied a ban on masks that the government imposed last month in a bid to curb unrest that has rocked the Chinese-ruled city for more than five months.
Dressed in formal graduation gowns, many of the students chanted as they walked from a metro station to the ceremony venue, calling for the government to respond to protesters’ demands that include universal suffrage.
The protests started over a now-scrapped extradition bill that would have allowed people to be sent to mainland China for trial but has evolved into calls for greater democracy and an independent inquiry into complaints of excessive force by police, among other demands.
“The most important thing is we all remember five demands not one less, even though we are all exhausted, we should not give up,” said Kelvin, a 22-year-old information engineering graduate.
The months of sometimes violent anti-government protests have plunged the former British colony into its biggest crisis in decades, with no sign the demonstrators plan to give up.
At the root of many protesters’ indignation is what they see as Chinese meddling with Hong Kong’s promised freedoms.
China denies doing so and has blamed Western countries for stirring up trouble in the financial hub.
The protests have hammered the city’s economy, which is sliding into recession for the first time since the global financial crisis in the third quarter.
Retail and tourism sectors have been hit particularly hard with visitor numbers plummeting as tourists stay away.
Beijing supports bolder action to tackle the roots of unrest, a senior Chinese official said on Wednesday, citing social problems including unaffordable housing.
More protests are planned on Thursday and through the weekend when bigger crowds usually gather.


{% set title = 'Home' %} {% extends 'layouts/_layout.html' %} {% block content %}
Isn't this just the most exciting website ever?


Version 0.7.2
- New name
- New app icon
- Bug fixes
- Correction for some of the hymns
- Can customize line spacing of lyrics
- Settings saved in internal storage
- Loading icon on start up.
Version 0.6.6
- Swipe-to-slide navigation bar
- Play MIDI
- Bug fixes
- Home button
- Reduced file size
- Additional colors in palette
Version 0.6.0
- Sliding navigation bar added
- Toast message
- Customizable background color
- New floating action buttons (fab) menu
Version 0.5.6
- Pinch-zoom enabled.
- Bug fixes
- Dark and bright themes
Version 0.5.4
- New look.
- New set of icons
- Bug fixes
- Pinch-zoom and swiping feature temporarily disabled.
- Improved searching feature
- New input pad to input hymn numbers
- Lyrics correction for some hymns
- User can highlight to copy lyrics to clipboard
- 5 previously viewed hymns are kept in history
Version 0.4.6
- User can copy whole lyrics to clipboard.
- Bug fixes
- Lyrics correction for some hymns.
- Files more organized.


The Rules of Inference
Simple binary operators aren’t a structure powerful enough to define rules of reasoning. This is where rules of inference come into play. They are forms of reasoning that we can prove to be correct. Let’s discover a few of them.
This article is the fourth in a series of four:
Rules of Inference
The general idea is the following: some propositions \( P_1 \), …, \( P_n \) are assumed to be true and one shows that accepting those propositions logically (in the sense of boolean logic) leads to saying that a conclusion proposition \( P_c \) must also be true.
\( P_1 \) to \( P_n \) are called the premises. \( P_c \) is called the conclusion.
There are quite many rules of inferences, here I will only cite the most useful ones. Note that the rules of inferences do not concern themselves with the truth of the premises. They are only used to deduce conclusions when we assume the premises to be true.
Modus Ponens
This form of argumentation is based on two premises:
- \( P\rightarrow Q \) (The proposition “if \( P \) is true, then \( Q \) is true” is true)
- \( P \) ( \( P \) is true)
From this, we can conclude that \( Q \) is true.
Example:
- If you are rich, then you are beautiful
- You are rich
It follows logically that you are beautiful!
It is possible to prove these rules using the boolean algebra defined in a previous article. The proof for this rule of inference is given thereafter. The proofs for the others rules of inference will not be given. One can find them online or derive them using boolean algebra.
This is proof is given for the sake of example but is not explained in detailed:
Modus Tolens
This form of argumentation is based on two premises:
- \( P\rightarrow Q \) (The proposition “if \( P \) is true, then \( Q \) is true” is true)
- \( \neg Q \) ( \( Q \) is false)
From this, we can conclude that \( P \) is false.
Example:
- If you are rich, then you are beautiful
- You are not beautiful
It follows logically that you are not rich!
Conclusion
On Rules of Inference
There exist a few more rules of inference. They can also be extended to use the mathematical symbols (for all) and (it exists). More informations about them can be found on Wikipedia.
I will try, in this blog, to be almost rigorous in the philosophical points I want to make; i.e. formulate them with rules of inference.
On Philosophy
We saw that rules of inference only concern themselves with the articulation one can formulate between premises to deduce a conclusion. So the whole debate is now shifted toward finding the correct premises or toward finding premises that can be accepted by everyone.
The conclusions will logically follow.
Subscribe to ASARPhiB
Get the latest posts delivered right to your inbox


Get the details for a specific Web App.
Use the name of the webapp as part of the URL (see Path)
A webapp object with the following properties:
id
- the id of the webapp in the current site (integer)name
- the name of the webapp (string)slug
- the SEO friendly slug generated for the webapp (string)allowFileUpload
- permits or denies file uploads to take place when saving a webapp item (boolean)createBy
- the ID of the user that created the webapp. Details can be retrieved using the Admin Users API (integer)createDate
- the date when the web app was created; uses the format mm/dd/yyyy (string)lastUpdateBy
- the ID of the user that created the webapp. Details can be retrieved using the Admin Users API (integer)lastUpdateDate
- the date when the web app item was created; uses the format mm/dd/yyyy (string)disableDetailPages
- if True the Web App items detail page will not be accessible. The detail page will also be excluded from the site search feature built into this system as well as from the sitemap.xml file submitted to the major search engines such as Google, Yahoo and Live. (boolean)locationEnabled
- use location for items (boolean)anyoneCanEdit
- allow anyone to edit the items, not only the owner (boolean)customerCanAdd
- users can add items in front-end (boolean)customerCanEdit
- users can edit their own items (boolean)customerCanDelete
- users can delete their own items (boolean)requiresPayment
- users must pay to view this item (boolean)requiresApproval
- items must be approved prior to becoming visible in the frontend (boolean)roleId
- the id of the role assigned to the webapp (integer)templateId
- the id of the template for the webapp (integer)validDays
- how many days will the item remain visible. Default value is -1, which means never expire (integer)uploadFolder
- path to the folder where files associated with items get uploaded to (string)systemFields
- (array)
name
- name of the webapp item (string)description
- the content in the webapp item (string)weight
- the weight of the item; determines order of display (integer)releaseDate
- the release date of the web app item; uses the format mm/dd/yyyy (string)expiryDate
- the date when the web app item will expire; uses the format mm/dd/yyyy (string)createDate
- the date when the web app item was created; uses the format mm/dd/yyyy (string)lastUpdateDate
- the date when the webapp item was last updated; uses the format mm/dd/yyyy (string)enabled
- indicates whether this web app item is enabled or disabled (boolean)roleId
- id of the role assigned; inherits from the webapp (integer)createBy
- id of the user that created the webapp item (integer)submittedBy
- id of the user that submitted the webapp item (can be different, but the default is to equal the createBy) (integer)address
- optional, only when enableLocation is True, stores the address associated with the item (string)city
- optional, only when enableLocation is True, stores the city associated with the item (string)state
- optional, only when enableLocation is True, stores the state associated with the item (string)zipcode
- optional, only when enableLocation is True, stores the zipcode associated with the item; client-side validation for the zipcode format is recommended (string)country
- optional, only when enableLocation is True, stores the country associated with the item (string)fields
- a collection of all custom fields associated with the webapp. Added to the webapp object as shorthand for following the rel='fields' link mentioned below (array)links
- a collection of uris are provided for discoverability. Each object contains links to: (array)
items
- points to the sub-api that lists all webapp items for a webappfields
- points to the api that allows management of the custom fieldspreviewUrl
- link to see the webapp in the site front-end. Composed from the site default domain and the slugcountries
- link to get the list of countries allowed for location, if location is enabled for the webappAccepts and returns JSON as Content-Type.
Request:
GET /api/v2/admin/sites/current/webapps/WEBAPP_NAME_HERE HTTPS/1.1
Authorization: 14f87f21c5ea4830a06a6314a8aad82b45bc61dc08f24a0fb55599cea83ca811
Connection: keep-alive
Content-Type: application/json
Response:
{
"links": [{
"rel": "items",
"uri": "https://api-ava.worldsecuresystems.com/api/v2/admin/sites/246884/webapps/Test%20app2/items"
}, {
"rel": "fields",
"uri": "https://api-ava.worldsecuresystems.com/api/v2/admin/sites/246884/webapps/Test%20app2/fields"
}, {
"rel": "previewUrl",
"uri": "http://perfume10.bcrb.tk/test-app2"
}, {
"rel": "countries",
"uri": "https://api-ava.worldsecuresystems.com/api/v2/admin/sites/246884/webapps/Test%20app2/countries"
}],
"id": 35209,
"name": "Test app2",
"slug": "test-app2",
"allowFileUpload": false,
"createBy": 138039,
"createDate": "2014-02-20",
"lastUpdateBy": 138039,
"lastUpdateDate": "2014-02-24",
"disableDetailPages": false,
"locationEnabled": true,
"anyoneCanEdit": false,
"customerCanAdd": false,
"customerCanDelete": false,
"customerCanEdit": false,
"requiresPayment": false,
"requiresApproval": true,
"roleId": 0,
"templateId": -1,
"validDays": 0,
"uploadFolder": null,
"systemFields": [{
"name": "name",
"type": "String",
"required": true
}, {
"name": "weight",
"type": "Number",
"required": false
}, {
"name": "description",
"type": "String",
"required": false
}, {
"name": "releaseDate",
"type": "DateTime",
"required": false
}, {
"name": "expiryDate",
"type": "DateTime",
"required": false
}, {
"name": "createDate",
"type": "DateTime",
"required": false
}, {
"name": "lastUpdateDate",
"type": "DateTime",
"required": false
}, {
"name": "enabled",
"type": "Boolean",
"required": false
}, {
"name": "slug",
"type": "String",
"required": false
}, {
"name": "roleId",
"type": "Number",
"required": false
}, {
"name": "createBy",
"type": "Number",
"required": false
}, {
"name": "submittedBy",
"type": "Number",
"required": false
}, {
"name": "address",
"type": "String",
"required": false
}, {
"name": "city",
"type": "String",
"required": false
}, {
"name": "state",
"type": "String",
"required": false
}, {
"name": "zipCode",
"type": "String",
"required": false
}, {
"name": "country",
"type": "String",
"required": true
}],
"fields": [{
"links": [{
"rel": "self",
"uri": "https://api-ava.worldsecuresystems.com/api/v2/admin/sites/246884/webapps/Test%20app2/fields/1"
}],
"id": 1,
"name": "FIELD1",
"type": "String",
"required": false,
"order": 1,
"listItems": null,
"dataSource": null
}]
}
var request = $.ajax({
url: "/api/v2/admin/sites/current/webapps/test app2",
type: "get",
contentType: "application/json",
headers: {
"Authorization": $.cookie('access_token')
}
});
request.done(function (msg) {
console.log(msg);
})
request.fail(function (jqXHR) {
console.log("Request failed.");
console.log("Error code: " + jqXHR.status);
console.log("Error text: " + jqXHR.statusText);
console.log("Response text: " + jqXHR.responseText);
})
This method will return the following error codes:
200
- success401
- unauthorized - when the Authorization header is not present, or contains an invalid site token
101000
- sub-error code403
- forbidden : this is returned when the user trying to access the API does not have the proper permissions404
- if trying to access a webapp that does not exist


Average Carrier Delay is defined as average departure delay, in minutes, which was caused by something NOT outside of the Carriers Control
Key Takeaways: There is a clear upward trend for more carrier delay over time. One can also see some airlines doing much better than others in regards to this metric
Note:Click on legend to hide/highlight carriers one at a time